package com.wanmait.employment.service;

import com.github.pagehelper.PageInfo;
import com.wanmait.employment.entity.*;
import org.apache.catalina.User;

import java.util.List;

/**
 * Create By pc on 2023/5/29.
 * 用户表
 */
public interface UserinfoService {
    PageInfo<Userinfo> findAll(String title,int pageNum, int pageSize);

    Integer delete(Integer id);

    Integer updata(Userinfo userinfo);

    Integer resetpasswords(Integer id, String userpass);

    Integer resetpic(Integer id,String face);

//用户登录
    Userinfo login(Userinfo userinfo);
//    注册用户
    Integer register(Userinfo userinfo);
//    学历
    List<RecruitmentEducation> relistAll();
//    经验时长
    List<WorkExperience>welistAll();
    //用户修改
    Integer userdate(Userinfo userinfo);
//    工作类型
    List<NatureWork>nwlistAll();
//    入职时间
    List<EntryTime> etlistAll();
//    薪资
    List<ExpectedSalary>eslistAll();
    //职位
    List<Position> ptlistAll();
//    简历
    Userinfo SelectOne(Integer userinfoId);
    //修改工作经验
    Integer updatajob(JobExperience jobExperience);

    Integer Addjob(JobExperience jobExperience);
    //删除工作经验
    Integer delete(JobExperience jobExperience);
    //查询工作经验
    List<JobExperience> Listjob(Integer id);

    Userinfo ListAll(Integer id);
    //修改项目经验
    Integer saveOrUpdate(ProjectExperience projectExperience);

    Integer addpe(ProjectExperience projectExperience);
    //查询教育经历
    List<EducationalExperience> edlist(Integer id);
    Integer edsaveOrUpdate(EducationalExperience educationalExperience);
    Integer inserted(EducationalExperience educationalExperience);
    Integer deleteed(Integer id);
    //删除项目经验
    Integer deletepe(Integer id);

}





